#!/usr/local/bin/python3
# -*- coding: UTF-8 -*-
"""
@author:apple
@file:demo01.py
@time:2021/05/20
"""


class Person:
    ...

    def __init__(self, name, age):
        self.name = name
        self.age = age


def test01():
    ...
    name = 'zhangsan'
    age = 21
    # print('name:{name},age:{age}'.format(**vars()))
    # print('name:{0[name]},age:{0[age]}'.format(vars()))
    print('name:{first[name]},age:{first[age]}'.format(first=vars()))


def test02():
    ...
    person = Person('lisi', 21)
    print('name:{person.name},age:{person.age}'.format(person=person))

if __name__ == '__main__':
    pass
    # test02()
    print(int('111',2));